package com.cqc.other.enumTest.d;

/**
 * @author cui
 * @date 2025/3/28 20:33
 * @description
 **/
public enum FileEnum {
    XML {
        @Override
        public void serialize(Object data) {
            System.out.println("XML serialize data:" + data);
        }
    },
    JSON {
        @Override
        public void serialize(Object data) {
            System.out.println("JSON serialize data:" + data);
        }
    };


    public abstract void serialize(Object data);
}
